import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
import VueSocketIO from 'vue-socket.io'
import Alert from '@/components/modules/alert'

Vue.use(Alert)

Vue.config.productionTip = false
Vue.use(ViewUI);

// Vue.use(new VueSocketIO({
//   debug: true,
//   connection: 'http://localhost:3000',
//   // vuex: {
//   //     store,
//   //     actionPrefix: 'SOCKET_',
//   //     mutationPrefix: 'SOCKET_'
//   // },
//   // options: { path: "/my-app/" } //Optional options
// }))



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
